package org.df.ulab.bot.api.pmi;

import java.util.Set;

import org.df.ulab.bot.api.message.MessageHandler;
import org.df.ulab.bot.api.pmi.entity.Issue;
import org.df.ulab.bot.api.pmi.entity.Member;
import org.df.ulab.bot.api.pmi.entity.Project;

/**
 * Project Managment Interface
 *
 */
public interface PmiHandler extends MessageHandler {

	void recycleCache();
	
	Set<Issue> getMyIssues(String id);
	Set<Issue> getIssues(Project projects);
	
	Issue getIssue(int issueId);
	Issue logSpendTime(int issueId, float addedTime, String followup);
	
	Set<Project> getProjects();
	Set<Member> getMembers();
}
